import { serve } from "https://deno.land/std@0.91.0/http/server.ts";
import { createRequire } from "https://deno.land/std/node/module.ts";
const require = createRequire(import.meta.url);
const path = require("path");
const cjsModule = require("./my_mod");
const leftPad = require("left-pad");


const server = serve({ port: 8000 });
console.log("http://localhost:8000/");
for await (const req of server) {
  req.respond({ body: "Hello World\n" });
}
